{include file="public/header" /}
<style>
    .layui-input-block{width: 50%}
</style>
<body>
<div class="x-body">
    <form action="{:url('agent_save')}" class="layui-form" id="form">

        <input type="hidden" name="ids" value="{$ids}">

        <div class="layui-form-item">
            <label class="layui-form-label">业务员 </label>
            <div class="layui-input-inline">
                <select name="salesman_id" lay-verify="required">
                    <option value="99999999">请选择</option>
                    {volist name="salesman" id="v"}
                    <option value="{$v.id}" >{$v.name}</option>
                    {/volist}
                </select>
            </div>
        </div>

        <div class="layui-form-item" style="text-align: center;">
            <button class="layui-btn" lay-filter="save" lay-submit formObj="#form">保存</button>
        </div>
    </form>
</div>
</body>
{include file="public/footer" /}
</html>